<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:a4j="http://richfaces.org/a4j"
	xmlns:rich="http://richfaces.org/rich">
	
<ui:composition>
	<rich:spacer height="4" />


<style>
.viewsourcepanel {
	padding-bottom: 0px;
	width: 100%;
	overflow: auto;
	border-width: 0;
	background-color: #FFF;
}

.viewsourcebody {
	padding: 0;
}

.viewsourceheader {
	background-color: #E6F3F7;
	background-image: none;
	border-width: 0px;
	padding: 0px;
	height: 6px;
}

.viewsourcediv {
	padding: 0 10px 10px 3px;
}
</style>
 <f:subview >
	<div style="width: 483px" class="viewsourcediv">
	<rich:panel id="source1"
		bodyClass="viewsourcebody" headerClass="viewsourceheader"
		styleClass="viewsourcepanel">
		<div style="width: 600px;">
		<rich:panelBar style="height:auto; border-bottom:none;" width="600">
		<!-- Bang du lieu -->
					<h:form>
			
					<h:dataTable id="list" value="#{tieuChiThoiGian.listThongTin}" var="Item" 
								columnClasses="column" headerClass="TableHeader" rowClasses="ROW1,ROW2" footerClass="TableFooter" 
					       style="width:100%; margin-left:0px;margin-top: 1px" cellspacing="1px;" rows="15">
						<h:column >
							<f:facet name="header">
								<h:outputText value="STT"></h:outputText>
							</f:facet>
							<h:outputText value="#{Item.STT}"></h:outputText>
							<f:facet name="footer">
								<rich:spacer></rich:spacer>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Tên người đi"></h:outputText>
							</f:facet>
							<h:outputText value="#{Item.tenNguoiDi}"></h:outputText>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Cơ quan"></h:outputText>
							</f:facet>
							<h:outputText value="#{Item.coQuan}"></h:outputText>
						</h:column>
						
						<h:column>
							<f:facet name="header">
								<h:outputText value="Mục đích"></h:outputText>
							</f:facet>
							<h:outputText value="#{Item.mucDich}"></h:outputText>
						</h:column>							
						
						<h:column>
							<f:facet name="header">
								<h:outputText value="Ngày đi"></h:outputText>
							</f:facet>
							<h:outputText value="#{Item.ngayDi}"></h:outputText>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Kinh phí"></h:outputText>
							</f:facet>
							<h:outputText value="#{Item.chiPhi}"></h:outputText>
						</h:column>							
						<h:column>
							<f:facet name="header">
								<h:outputText value="Đơn vị mời"></h:outputText>
							</f:facet>
							<h:outputText value="#{Item.donViMoi}"></h:outputText>
						</h:column>					
						
					</h:dataTable>
						<!-- phan trang -->
						<rich:datascroller align="left"  for="list" maxPages="20" />
						<!-- ket thuc phan trang -->
				</h:form>


		<!-- Ket thuc bang du lieu -->
		</rich:panelBar>
		</div>
	</rich:panel>
	</div>
</f:subview>	
</ui:composition>
</html>
						